package org.example.myleet.p482;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("5F3Z-2E9W".equals(solution.licenseKeyFormatting("5F3Z-2e-9-w", 4)));
        Assert.isTrue("2-5G-3J".equals(solution.licenseKeyFormatting("2-5g-3-J", 2)));
        Assert.isTrue("25G3J".equals(solution.licenseKeyFormatting("2-5g-3-J", 10)));
        Assert.isTrue("".equals(solution.licenseKeyFormatting("---", 10)));
    }
}
